#! /bin/sh

set -e

git checkout gh-pages
rm -rf dev
cp -r _build/html/ dev
cp -r _build/latex/theoretical-physics.pdf dev/
git add dev
git commit -a -m "Automatic commit"
git checkout master
